package com.bush.mall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.coupon.entity.CouponSpuRelationEntity;

/**
 * 优惠券与产品关联
 * @author RUN
 * @date 2022-11-29
 */
public interface CouponSpuRelationService extends IService<CouponSpuRelationEntity> {

    public static final String BEAN_ID = "mall.couponSpuRelationService";

    /**
     * 分页查询优惠券与产品关联列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建优惠券与产品关联表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveCouponSpuRelation(CouponSpuRelationEntity couponSpuRelation);


    /**
     * 修改优惠券与产品关联表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateCouponSpuRelation(CouponSpuRelationEntity couponSpuRelation);

    /**
     * 删除指定ID的优惠券与产品关联
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteCouponSpuRelation(Long id);

}

